home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
toolbox
/
min2
< prev
next >
Wrap
Text File
|
1994-05-08
|
496b
|
19 lines
//-------------------------------------------------------------------//
//
// Syntax: min2 ( A, B )
// Description:
// Return a matrix the same size as A and B with the smallest
// elements taken from A and B.
// Note: the builtin function min now handles this condition.
// This file is maintained for backward compatibility.
//-------------------------------------------------------------------//
min2 = function(a,b)
{
return min(a,b);
// return (b+(a-b).*(a<b));
};